#ifndef INCLUDED_GOLDEGG_H
#define INCLUDED_GOLDEGG_H

#include<SGE.h>

using namespace SGE;

class GoldEgg
{
public:
	GoldEgg();
	~GoldEgg();

	void Load();
	void Unload();
	void Update(float deltaTime);
	void Render(const SVector2& viewOffset);

	void Spawn(const SVector2& pos, const SVector2& vel);
	void Kill();

	bool IsActive() const             { return mActive;}
	SCircle GetBoundingCircle() const { return SCircle(mPosition, 10.0f);}

private:
	SGE_Sprite mSprite;
	SVector2 mPosition;
	SVector2 mVelocity;
	bool mActive;
};

#endif